import { Component, ReactElement } from "react"
import './styled.scss'
interface Props {
    left?:ReactElement,
    title?:string
}
interface State {}
class Index extends Component<Props, State> {
    render() {
        const {title = '锋神电影'} = this.props;
        return (
        <>
            <div className='navBar'>
                <div className='left'>
                    {this.props.left}
                </div>
                <p>{title}</p>
                <p></p>
            </div>
        </>
        )
    }
}
export default Index
